//
//  JKTagCell.h
//  JackToolsBox
//
//  Created by Jack Xue on 2019/12/10.
//  Copyright © 2019 Jack Xue. All rights reserved.
//

#import <UIKit/UIKit.h>
#define JK_LINE_WIDTH 1
NS_ASSUME_NONNULL_BEGIN

@interface JKTagPart : UILabel
@property(nonatomic, copy)NSString *infoString;
@property(nonatomic, assign)CGFloat fontSize;
@property(nonatomic, strong)UIColor *forgroundColor;     //文字+边框色彩
@property(nonatomic, strong)UIView *contentView;         //类似UITableViewCell中的contentView
@property(nonatomic, assign)BOOL enableBorder;      //是否展示边框, 默认YES

- (NSInteger)caculateWidth;
@end

NS_ASSUME_NONNULL_END
